package edu.thu.studio.ormdesigner.model.diagram.note;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

import edu.thu.studio.ormdesigner.model.AbstractModel;

@XStreamAlias("label")
public class Label extends AbstractModel {
    
    private static final long serialVersionUID = -1064391414495613156L;
    
    @XStreamAsAttribute
    private String text;
    
    @XStreamAsAttribute
    private Double rx;
    
    @XStreamAsAttribute
    private Double ry;
    
    @XStreamAsAttribute
    private Double width;
    
    @XStreamAsAttribute
    private Double height;
    
    public String getText() {
        return text;
    }
    
    public void setText(String text) {
        this.text = text;
    }
    
    public Double getRx() {
        return rx;
    }
    
    public void setRx(Double rx) {
        this.rx = rx;
    }
    
    public Double getRy() {
        return ry;
    }
    
    public void setRy(Double ry) {
        this.ry = ry;
    }
    
    public Double getWidth() {
        return width;
    }
    
    public void setWidth(Double width) {
        this.width = width;
    }
    
    public Double getHeight() {
        return height;
    }
    
    public void setHeight(Double height) {
        this.height = height;
    }
    
}
